package com.gadglet.admin.gadget.client;


import com.gadglet.admin.gadget.shared.GadgetTransit;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("gadget")
public interface GadgetService extends RemoteService {
	String saveGadget(GadgetTransit gadget) throws IllegalArgumentException;
	GadgetTransit getGadget(String gadgetName) throws IllegalArgumentException;
}
